package com.cldz.dao;

import com.cldz.common.dto.req.FsuAlarmDto;
import com.cldz.entity.FsuAlarm;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @ Author     ：lixiao.
 * @ Date       ：Created in 13:49 2018/12/22
 * @ Description：
 * @ Modified By：
 */
@Mapper
public interface FsuAlarmMapper {

    List<FsuAlarm> getFsuSuIDRunAlarmData(FsuAlarmDto fsuAlarmDto);

    Integer getFsuSuIDRunAlarmDataAmount(FsuAlarmDto fsuAlarmDto);

    List<FsuAlarm> getFsuSuIDHisAlarmData(FsuAlarmDto fsuAlarmDto);

    Integer getFsuSuIDHisAlarmDataAmount(FsuAlarmDto fsuAlarmDto);

    List<FsuAlarm> getFsuAllRunAlarmData(FsuAlarmDto fsuAlarmDto);

    Integer getFsuAllRunAlarmDataAmount(FsuAlarmDto fsuAlarmDto);

    List<FsuAlarm> getFsuHisAlarmData(FsuAlarmDto fsuAlarmDto);

    Integer getFsuHisAlarmDataAmount(FsuAlarmDto fsuAlarmDto);

    Integer getFsuRunAlarmCount(String suID);

    Integer getFsuHisAlarmCount(String suID);

}
